package cn.uce.cc.srv.service;

import cn.uce.cc.entity.CcAgentCall;
import cn.uce.cc.srv.dao.impl.ICcAgentCallDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by zhaocan on 2018/5/23.
 */
@Repository
public class CcAgentCallService {

    @Autowired
    private ICcAgentCallDao ccAgentCallDao;

    public List<Map<String, Object>> getSevenDayInfrushStatistics(CcAgentCall ccAgentCall) {
        return ccAgentCallDao.getSevenDayInfrushStatistics(ccAgentCall);
    }

    public List<Map<String, Object>> getAverageRingTime(CcAgentCall ccAgentCall) {
        return ccAgentCallDao.getAverageRingTime(ccAgentCall);
    }
}
